package com.jiazhong.example.project.shoppingcart.service;

import com.jiazhong.example.project.shoppingcart.bean.Users;
import com.jiazhong.example.project.shoppingcart.util.JsonResult;

import javax.servlet.http.HttpSession;

public interface UsersService {

    JsonResult save(Users users);

    JsonResult checkUsername(String username);

    JsonResult checkPhone(String phone);

    JsonResult login(String username, String password, HttpSession session);
}
